package hfdp.chp06.chp0605;

/**
 * Created by chei on 2016/8/31.
 */
public class TVOnCommand implements Command {

    private TV tv;

    public TVOnCommand(TV tv) {
        this.tv = tv;
    }

    @Override
    public void execute() {
        tv.on();
    }
}
